import { NMold, RSetState } from "../../config/constants";
import { reducer } from "../../utils/dva17";
import "./index.less";

export default () => {
  function login() {
    reducer(NMold, RSetState, { load: true });
    window.location.href = "#/home";
  }
  return (
    <div className="login">
      <h1 onClick={login}>登录页</h1>
    </div>
  );
};
